package com.example.observer.demo;

import com.example.observer.eventbus.EventBus;

public class App 
{
    public static void main( String[] args )
    {
        EventBus eventBus = new EventBus();

        eventBus.register(new ObserverOne());

        eventBus.post(new EventOne());

        System.out.println( "Hello World!" );
    }
    
}
